package com.sooth.system.post.service;

import com.dream.boot.impl.ServiceImpl;
import com.sooth.system.post.mapper.SysPostMapper;
import com.sooth.system.post.view.SysPostBo;
import com.sooth.system.post.view.SysPostVo;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 岗位信息 服务层处理
 *
 * @author Lion Li
 */
@RequiredArgsConstructor
@Service
public class SysPostServiceImpl extends ServiceImpl<SysPostVo, SysPostBo> implements ISysPostService {
    private final SysPostMapper postMapper;

    @Override
    public List<SysPostVo> queryPostByUserId(Long userId) {
        return postMapper.queryPostByUserId(userId);
    }
}
